<?php echo form_open('gm/change_password'); ?>
<div id="content">
    <div id="form" class="row-fluid">
        <h3 style="margin-left: 130px;">General Manager Profile</h3>
		<?php
		if ($this->session->userdata('change_success')) {
			echo $this->session->userdata('change_success');
			$this->session->unset_userdata('change_success');
		}
		?>
        <hr/>
		<?php
		if ($get_profile) {
			?>
			<div class="span8 myspan8">
				<table class="tbl mytable">
					<tr>
						<td rowspan="8" style="width:133px;">
							<div id="images" class="img-polaroid">
								<table class="mytable">
									<?php
									foreach ($get_profile->result() as $row) {
										?> 
										<tr>
											<td>
												<?php
												$atrib = array(
													'src' => site_url('uploads/users/' . $row->emp_photo),
													'alt' => $row->emp_photo,
													'class' => 'img_profile',
													'title' => $row->emp_photo
												);
												echo img($atrib);
												?>
											</td>
										</tr>
										<tr>
											<td class="options-width"></td>
										</tr>
	<?php } ?>
								</table>
							</div>
						</td>
						<td class="txt">First Name</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo ucfirst($row->emp_fname); ?></td>
					</tr>
					<tr>
						<td class="txt">Last Name</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo strtoupper($row->emp_lname); ?></td>
					</tr>
					<tr>
						<td class="txt">Gender</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->emp_gender; ?></td>
					</tr>
					<tr>
						<td class="txt">Start Date Work</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->start_date_work; ?></td>
					</tr>
					<tr>
						<td class="txt">Username</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->username; ?></td>
					</tr>
					<tr>
						<td class="txt">Position</td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->pos_name; ?></td>
					</tr>
					<tr>
						<td class="txt">Department</b></td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->dept_name; ?></td>
					</tr>
					<tr>
						<td class="txt">Group</b></td>
						<td class="txt1">:</td>
						<td class="input_txt"><?php echo $row->grp_name; ?></td>
					</tr>
<!--					<tr>
						<td colspan="2"></td>
						<td style="float:right;">
							<?php
//							echo '<button class="btn">' . anchor('gm/get_profile/#edit_pass', ' Change password', 'role="button" data-toggle="modal" style="text-decoration: none"') . '</button>';
							?>
						</td>
					</tr>-->
				</table>
			</div>
<?php } ?>
        <br/>
    </div>
</div> 
<?php echo form_close(); ?>